#!/bin/bash
# prometheus-2.2.1.linux-amd64
# https://docs.pingcap.com/zh/tidb/stable/deploy-monitoring-services

nohup ./prometheus \
        --config.file="./prometheus.yml" \
        --web.listen-address=":9090" \
        --web.external-url="http://10.96.95.13:9090/" \
        --web.enable-admin-api \
        --log.level="info" \
        --storage.tsdb.path="./data.metrics" \
        --storage.tsdb.retention="15d" &
